﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000679 RID: 1657
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetChapterScRsp : IMessage<GetChapterScRsp>, IMessage, IEquatable<GetChapterScRsp>, IDeepCloneable<GetChapterScRsp>, IBufferMessage
	{
		// Token: 0x17001571 RID: 5489
		// (get) Token: 0x06004AD8 RID: 19160 RVA: 0x000CDCBD File Offset: 0x000CBEBD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetChapterScRsp> Parser
		{
			get
			{
				return GetChapterScRsp._parser;
			}
		}

		// Token: 0x17001572 RID: 5490
		// (get) Token: 0x06004AD9 RID: 19161 RVA: 0x000CDCC4 File Offset: 0x000CBEC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetChapterScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001573 RID: 5491
		// (get) Token: 0x06004ADA RID: 19162 RVA: 0x000CDCD6 File Offset: 0x000CBED6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetChapterScRsp.Descriptor;
			}
		}

		// Token: 0x06004ADB RID: 19163 RVA: 0x000CDCDD File Offset: 0x000CBEDD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetChapterScRsp()
		{
		}

		// Token: 0x06004ADC RID: 19164 RVA: 0x000CDCF0 File Offset: 0x000CBEF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetChapterScRsp(GetChapterScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.fIIMDIGFDNJ_ = other.fIIMDIGFDNJ_;
			this.fCLNMCPLMEG_ = other.fCLNMCPLMEG_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06004ADD RID: 19165 RVA: 0x000CDD3D File Offset: 0x000CBF3D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetChapterScRsp Clone()
		{
			return new GetChapterScRsp(this);
		}

		// Token: 0x17001574 RID: 5492
		// (get) Token: 0x06004ADE RID: 19166 RVA: 0x000CDD45 File Offset: 0x000CBF45
		// (set) Token: 0x06004ADF RID: 19167 RVA: 0x000CDD4D File Offset: 0x000CBF4D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001575 RID: 5493
		// (get) Token: 0x06004AE0 RID: 19168 RVA: 0x000CDD56 File Offset: 0x000CBF56
		// (set) Token: 0x06004AE1 RID: 19169 RVA: 0x000CDD5E File Offset: 0x000CBF5E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FIIMDIGFDNJ
		{
			get
			{
				return this.fIIMDIGFDNJ_;
			}
			set
			{
				this.fIIMDIGFDNJ_ = value;
			}
		}

		// Token: 0x17001576 RID: 5494
		// (get) Token: 0x06004AE2 RID: 19170 RVA: 0x000CDD67 File Offset: 0x000CBF67
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<ChapterBrief> FCLNMCPLMEG
		{
			get
			{
				return this.fCLNMCPLMEG_;
			}
		}

		// Token: 0x06004AE3 RID: 19171 RVA: 0x000CDD6F File Offset: 0x000CBF6F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetChapterScRsp);
		}

		// Token: 0x06004AE4 RID: 19172 RVA: 0x000CDD80 File Offset: 0x000CBF80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetChapterScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.FIIMDIGFDNJ == other.FIIMDIGFDNJ && this.fCLNMCPLMEG_.Equals(other.fCLNMCPLMEG_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004AE5 RID: 19173 RVA: 0x000CDDE0 File Offset: 0x000CBFE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.FIIMDIGFDNJ != 0U)
			{
				num ^= this.FIIMDIGFDNJ.GetHashCode();
			}
			num ^= this.fCLNMCPLMEG_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004AE6 RID: 19174 RVA: 0x000CDE46 File Offset: 0x000CC046
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004AE7 RID: 19175 RVA: 0x000CDE4E File Offset: 0x000CC04E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004AE8 RID: 19176 RVA: 0x000CDE58 File Offset: 0x000CC058
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.Retcode);
			}
			this.fCLNMCPLMEG_.WriteTo(ref output, GetChapterScRsp._repeated_fCLNMCPLMEG_codec);
			if (this.FIIMDIGFDNJ != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.FIIMDIGFDNJ);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06004AE9 RID: 19177 RVA: 0x000CDEC4 File Offset: 0x000CC0C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.FIIMDIGFDNJ != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FIIMDIGFDNJ);
			}
			num += this.fCLNMCPLMEG_.CalculateSize(GetChapterScRsp._repeated_fCLNMCPLMEG_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004AEA RID: 19178 RVA: 0x000CDF30 File Offset: 0x000CC130
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetChapterScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.FIIMDIGFDNJ != 0U)
			{
				this.FIIMDIGFDNJ = other.FIIMDIGFDNJ;
			}
			this.fCLNMCPLMEG_.Add(other.fCLNMCPLMEG_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004AEB RID: 19179 RVA: 0x000CDF91 File Offset: 0x000CC191
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06004AEC RID: 19180 RVA: 0x000CDF9C File Offset: 0x000CC19C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 26U)
					{
						if (num != 56U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.FIIMDIGFDNJ = input.ReadUInt32();
						}
					}
					else
					{
						this.fCLNMCPLMEG_.AddEntriesFrom(ref input, GetChapterScRsp._repeated_fCLNMCPLMEG_codec);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001DBC RID: 7612
		private static readonly MessageParser<GetChapterScRsp> _parser = new MessageParser<GetChapterScRsp>(() => new GetChapterScRsp());

		// Token: 0x04001DBD RID: 7613
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001DBE RID: 7614
		public const int RetcodeFieldNumber = 2;

		// Token: 0x04001DBF RID: 7615
		private uint retcode_;

		// Token: 0x04001DC0 RID: 7616
		public const int FIIMDIGFDNJFieldNumber = 7;

		// Token: 0x04001DC1 RID: 7617
		private uint fIIMDIGFDNJ_;

		// Token: 0x04001DC2 RID: 7618
		public const int FCLNMCPLMEGFieldNumber = 3;

		// Token: 0x04001DC3 RID: 7619
		private static readonly FieldCodec<ChapterBrief> _repeated_fCLNMCPLMEG_codec = FieldCodec.ForMessage<ChapterBrief>(26U, ChapterBrief.Parser);

		// Token: 0x04001DC4 RID: 7620
		private readonly RepeatedField<ChapterBrief> fCLNMCPLMEG_ = new RepeatedField<ChapterBrief>();
	}
}
